function Select_contenu() {
	var model = document.form_6.model.value;
	var xhr = null;

	if (model == "")
		alert("ERREUR : Veuilliez indiquer le model");
	else {
		if (window.XMLHttpRequest) {
			xhr = new XMLHttpRequest();
		} else if (window.ActiveXObject) {
			xhr = new ActiveXObject("Microsoft.XMLHTTP");
		}
		xhr.open("GET", "SelectTabContenu.jsp?model=" + model, false);
		xhr.send(null);

		document.getElementById("result2").innerHTML = xhr.responseText;
	}

}

function Select_contenu_terme() {
	var model = document.form_8.model.value;
	var xhr = null;

	if (model == "")
		alert("ERREUR : Veuilliez indiquer le model");
	else {
		if (window.XMLHttpRequest) {
			xhr = new XMLHttpRequest();
		} else if (window.ActiveXObject) {
			xhr = new ActiveXObject("Microsoft.XMLHTTP");
		}
		xhr.open("GET", "SelectTabContenu_terme.jsp?model=" + model, false);
		xhr.send(null);

		document.getElementById("result3").innerHTML = xhr.responseText;
	}

}